<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE>
<html>
<head>
<meta  charset="utf-8">
<title>Insert title here</title>
</head>
<body>
<table>
<tr>
  <td>商品名</td>
  <td>商品单价</td>
  <td>库存</td>
  <td>销售量</td>
  <td>图片</td>
  <td>描述</td>
  
</tr>

<c:forEach items="${listgoods }" var="goods">
         <tr>
  <td>${goods.gname }</td>
  <td>${goods.gprice }</td>
  <td>${goods.gstock }</td>
  <td>${goods.gsell }</td>
  <td><img src="img/${goods.gimg }"></td>
  <td>${goods.gdepict }</td>
  
</tr>
      </c:forEach> 


</table>
       
</body>
</html>